package com.task.core.mapper;

import java.util.List;
import java.util.Set;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author 迪迦.
 * @date 2024/11/7 13:50
 */
@Mapper
public interface DataSendByMissionMapper {

  Integer useCountByMission(@Param("dataCode") String dataCode,
      @Param("missionName") String missionName, @Param("missionCodes") Set<String> missionCodes,
      @Param("advertiserCodes") Set<String> advertiserCodes,
      @Param("affiliateCodes") Set<String> affiliateCodes,
      @Param("indexTableNameList") List<String> indexTableNameList);

  Integer getFailedCount(@Param("missionCode") String missionCode, @Param("dataCode") String dataCode);
}
